animated product card using html css javascript